package com.zlzkj.app.mapper;

import com.zlzkj.app.model.Energytype;
import com.zlzkj.core.sql.Row;

import java.util.List;
import java.util.Map;

public interface EnergytypeMapper {
    int deleteByPrimaryKey(String id);

    int insert(Energytype record);

    Energytype selectByPrimaryKey(String id);

    List<Energytype> selectAll();
    
    List<Energytype> selectName(String name);

    int updateByPrimaryKey(Energytype record);
    
	List<Row> selectByMap(Map<String, Object> map);
	
    int countByMap(Map<String,Object> map);
    
}